package com.best.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/websocket")
public class WebsocketController {

	@RequestMapping("/test")
	public ModelAndView userinfo(ModelMap result, HttpServletRequest request) {
		result.put("key", 123);
		return new ModelAndView("test");
	}
}
